import request from '@/utils/request'

// 查询检查项明细列表
export function listCheck_item_detailed(query) {
  return request({
    url: '/tijian/check_item_detailed/list',
    method: 'get',
    params: query
  })
}

// 查询检查项明细详细
export function getCheck_item_detailed(id) {
  return request({
    url: '/tijian/check_item_detailed/' + id,
    method: 'get'
  })
}

// 新增检查项明细
export function addCheck_item_detailed(data) {
  return request({
    url: '/tijian/check_item_detailed',
    method: 'post',
    data: data
  })
}

// 修改检查项明细
export function updateCheck_item_detailed(data) {
  return request({
    url: '/tijian/check_item_detailed',
    method: 'put',
    data: data
  })
}

// 删除检查项明细
export function delCheck_item_detailed(id) {
  return request({
    url: '/tijian/check_item_detailed/' + id,
    method: 'delete'
  })
}

// 查询检查项明细ciId与名字
export function listCheck_item_detailed_CiIdAndName() {
  return request({
    url: '/tijian/check_item_detailed/ListNameAndId' ,
    method: 'get'
  })
}
